<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>

    <div style="margin: 0px auto; width: 300px;">
        <fieldset>
            <legend>登录</legend>
            <form action="LoginServlet" method="post">
                <table>
                    <tr>
                        <td>用户名：</td>
                        <td>
                            <input type="text" name="username"/>
                        </td>
                    </tr>
                    <tr>
                        <td>密码：</td>
                        <td>
                            <input type="password" name="password"/>
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <input type="submit" value="登录">
                            &nbsp;
                            <a href="reg.html">注册</a>
                        </td>

                    </tr>
                </table>
            </form>
        </fieldset>
    </div>
</body>
</html>